package com.xysl.service;

import com.xysl.api.domain.XyslMenu;
import com.xysl.api.domain.XyslUser;
import com.xysl.domain.dto.XyslMenuDTO;

import java.util.List;

/**
 * 用户Service接口
 *
 * @author xysl
 * @date 2024-12-27
 */
public interface IXyslUserService
{
    /**
     * 查询用户
     *
     * @param id 用户主键
     * @return 用户
     */
    public XyslUser selectXyslUserById(Long id);

    public XyslUser queryXyslUserByAccount(String account);

    List<XyslMenu> queryLoginUserMenuList(XyslMenuDTO menuDTO);

}
